Add a sysrq option to exit secure boot mode
authorKyle McMartin <kyle@redhat.com>
Wed, 5 Apr 2017 16:40:30 +0000 (17:40 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 15 Oct 2017 06:57:36 +0000 (07:57 +0100)
commit9f8337124e7a395983d93bb9b6c38434c6fce857
tree7cae2048a931a2de8d1f8e542b720e1a58a4484b
parentd44f53d53e204b23f41e98aa4cd14b985364f639
Add a sysrq option to exit secure boot mode

Make sysrq+x exit secure boot mode on x86_64, thereby allowing the running
kernel image to be modified.  This lifts the lockdown.

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
[bwh: For 4.12, adjust context]

Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0043-Add-a-sysrq-option-to-exit-secure-boot-mode.patch
arch/x86/Kconfig
arch/x86/kernel/setup.c
drivers/input/misc/uinput.c
drivers/tty/sysrq.c
include/linux/input.h
include/linux/sysrq.h
kernel/debug/kdb/kdb_main.c